<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>查询结果</title>
  <style>
    body {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  </style>
</head>
<body>
  <div style="display: flex;justify-content: center;align-items: center;"><span>目标图片：</span><img src="./public/{{ target_url }}" alt="加载图片出错..."></div>
  <h2>根据颜色特征提取，按照与目标图片的相似度从大到小排列如下：</h2>
  <ol style="display: flex;justify-content: space-between;align-items: center; flex-wrap: wrap;">
    {% for item in color %}
    <li style="display: flex;flex-direction: column;align-items: center;">
      <img src="./public/{{item.url}}" alt="{{item.url}}" style="width: 200px;height: 200px;">
      <span>差异值{{item.distance}}</span>
    </li>
    {% endfor %}
  </ol>
  <div style="display: flex;justify-content: center;align-items: center;"><span>目标图片：</span><img src="./public/{{ target_url }}" alt="加载图片出错..."></div>
  <h2>根据形状特征提取，按照与目标图片的相似度从大到小排列如下：</h2>
  <ol style="display: flex;justify-content: space-between;align-items: center;flex-wrap: wrap;">
    {% for item in shape %}
    <li style="display: flex;flex-direction: column;align-items: center;">
      <img src="./public/{{item.url}}" alt="{{item.url}}" style="width: 200px;height: 200px;">
      <span>差异值{{item.distance}}</span>
    </li>
    {% endfor %}
  </ol>
  <div style="display: flex;justify-content: center;align-items: center;"><span>目标图片：</span><img src="./public/{{ target_url }}" alt="加载图片出错..."></div>
  <h2>根据纹理特征提取，按照与目标图片的相似度从大到小排列如下：</h2>
  <ol style="display: flex;justify-content: space-between;align-items: center;flex-wrap: wrap;">
    {% for item in texture %}
    <li style="display: flex;flex-direction: column;align-items: center;">
      <img src="./public/{{item.url}}" alt="{{item.url}}" style="width: 200px;height: 200px;">
      <span>差异值{{item.distance}}</span>
    </li>
    {% endfor %}
  </ol>
</body>
</html>